/**
 * 小程序配置文件
 */

// 此处主机域名是腾讯云解决方案分配的域名

var host = "https://mtl.x-relif.com/prod-api"
// var host = "http://192.168.2.187:8080"

var config = {
  // 下面的地址配合云端 Server 工作
  host,
  // 登录地址，用于建立会话
  loginUrl: `${host}action/WeiXinLogin/miniProgramUserInit`,
  // 上传文件接口
  uploadFileUrl: `${host}action/auth/HxSysUploadAction/upload`,
  // 更改手机号
  setPhoneUrl: `${host}action/auth/HxCsUserAction/setPhone`,
  // 上传图片接口
  uploadImageUrl: `${host}action/auth/HxSysUploadAction/bigImgKeepScaling`,
};

module.exports = config